package org.devocean.groupbuying.service;

import java.util.List;

import org.devocean.groupbuying.domain.Customer;
import org.devocean.groupbuying.domain.SerialKey;

public interface SerialKeyService {
	
	List<SerialKey> getSerialKeyByCustomer(Customer customer,Integer start,Integer limit);
	
	Long countSerialKeyByCustomer(Integer customerID);
	
	List<SerialKey> getSerialKeyByCustomerByExpireDate(Integer customerID,Integer start,Integer limit);
	
	Long countSerialKeyByCustomerByExpireDate(Integer customerID);
	
	List<SerialKey> getSerialKeyByCustomerByPurchaseDate(Integer customerID,Integer start,Integer limit);
	
	Long countSerialKeyByCustomerByPurchaseDate(Integer customerID);
	
	
	SerialKey getSerialKeyById(Integer id);
	
	SerialKey updateSerialKey(SerialKey serialKey);

}
